package models;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;

import play.db.jpa.Model;

@Entity
public class Transferencia extends Model{
		
	@OneToOne
	public Turma turmaOrigem;
	@OneToOne
	public Turma turmaDestino;
	public Date dataTransferencia;
	
	@ManyToOne(cascade={CascadeType.ALL})
	public Matricula matricula;	
}
